package test.web.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * @Author piaoransheng
 * @Date 2021/12/8 16:37
 */
@Data
@Entity
@Table(name = "arrive_order")
public class ArriveOrderEntity {
    @Id
    @Column(name = "id")
    private String id;

    @Column(name = "name")
    private String name;

    @Column(name = "sex")
    private String sex;

    @Column(name = "phone")
    private String phone;

    @Column(name = "arrive_number")
    private int arriveNumber;

    @Column(name = "arrive_date")
    private LocalDate arriveDate;

    @Column(name = "arrive_period")
    private String arrivePeriod;

    @Column(name = "status")
    private int status;

    @Column(name = "apply_time")
    private LocalDateTime applyTime;

    @Column(name = "apply_user_id")
    private String applyuserId;

    @Column(name = "apply_user_name")
    private String applyUserName;
}